package com.tudouji.project.store.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 库间管理对象 storehouseroom
 * 
 * @author wf
 * @date 2021-01-04
 */
public class Storehouseroom
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 主键 */
    private String guid;

    /** 库房guid */
    @Excel(name = "库房guid")
    private String storeguid;

    /** 库间编号 */
    @Excel(name = "库间编号")
    private String code;

    /** 库间名称 */
    @Excel(name = "库间名称")
    private String name;

    /** 库房管理人员 */
    private String managerid;

    /** 库存容量(吨) */
    private BigDecimal capacity;

    /** 创建时间 */
    private Date createdate;

    /** 操作人 */
    private String operatorid;

    /** 最后更新时间 */
    private Date lastupdate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 库间类型 */
    @Excel(name = "库间类型")
    private Integer shrtype;

    /** 金蝶编号 */
    @Excel(name = "金蝶编号")
    private String kingdeenum;

    private Storeroom storeroom;

    private String remark;

    private boolean whinfoData;
    private String mtWhCode;

    public String getMtWhCode() {
        return mtWhCode;
    }

    public void setMtWhCode(String mtWhCode) {
        this.mtWhCode = mtWhCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setStoreguid(String storeguid) 
    {
        this.storeguid = storeguid;
    }

    public String getStoreguid() 
    {
        return storeguid;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setManagerid(String managerid) 
    {
        this.managerid = managerid;
    }

    public String getManagerid() 
    {
        return managerid;
    }
    public void setCapacity(BigDecimal capacity) 
    {
        this.capacity = capacity;
    }

    public BigDecimal getCapacity() 
    {
        return capacity;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setOperatorid(String operatorid) 
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid() 
    {
        return operatorid;
    }
    public void setLastupdate(Date lastupdate) 
    {
        this.lastupdate = lastupdate;
    }

    public Date getLastupdate() 
    {
        return lastupdate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setShrtype(Integer shrtype) 
    {
        this.shrtype = shrtype;
    }

    public Integer getShrtype() 
    {
        return shrtype;
    }
    public void setKingdeenum(String kingdeenum) 
    {
        this.kingdeenum = kingdeenum;
    }

    public String getKingdeenum() 
    {
        return kingdeenum;
    }

    public Storeroom getStoreroom() {
        return storeroom;
    }

    public void setStoreroom(Storeroom storeroom) {
        this.storeroom = storeroom;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public boolean isWhinfoData() {
        return whinfoData;
    }

    public void setWhinfoData(boolean whinfoData) {
        this.whinfoData = whinfoData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("storeguid", getStoreguid())
            .append("code", getCode())
            .append("name", getName())
            .append("managerid", getManagerid())
            .append("capacity", getCapacity())
            .append("remark", getRemark())
            .append("createdate", getCreatedate())
            .append("operatorid", getOperatorid())
            .append("lastupdate", getLastupdate())
            .append("status", getStatus())
            .append("shrtype", getShrtype())
            .append("kingdeenum", getKingdeenum())
            .toString();
    }
}
